package com.jdz.dao;

import com.jdz.pojo.RaceTypeDetails;
import org.apache.ibatis.annotations.Param;

public interface RaceTypeDetailsMapper {
    int deleteByPrimaryKey(Integer racetypedetailsno);

    int insert(RaceTypeDetails record);

    int insertSelective(RaceTypeDetails record);

    RaceTypeDetails selectByPrimaryKey(Integer racetypedetailsno);

    int updateByPrimaryKeySelective(RaceTypeDetails record);

    int updateByPrimaryKey(RaceTypeDetails record);

    RaceTypeDetails selectByRacetypeno(Integer racetypeno);

    Integer updateByRacetypeno(@Param("racetypeno") Integer racetypeno,@Param("racetypedetailed") String racetypedetailed);

    Integer updateByRacetypenoState(@Param("racetypeno") Integer racetypeno,@Param("raceTypeDetailsState") Integer raceTypeDetailsState);
}